Digital filter and refrence signal cancelling device and method using the same

ABSTRACT

A second-order bandpass IIR type digital filter, assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b1 is set at −1+2 −n  and a second-order input feedback coefficient b2 is set at 1−2 −(n−1)  (n: an odd number of 3 or larger). In this configuration, second-order IIP type digital filter with a simple arrangement and high accuracy can be provided. In a reference signal canceling apparatus, using such a digital filter, the reference signal can be canceled effectively and completely.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] This invention relates to a second-order IIR type digital filter and a reference signal canceling device and method using it.

[0003] 2. Description of the Related Art

[0004] In FM stereo broadcasting, an FM detected signal includes a pilot signal at a single frequency of 19 KHz which is a reference for stereo demodulation. In order to cancel such a pilot signal, the circuit as shown in FIG. 4 has been proposed. Specifically, the pilot signal is extracted by a bandpass filter 20 which is an IIR (Infinite Impulse Response) filter and supplied to an attenuator 21, thereby canceling the pilot signal.

[0005] However, the above IIR filter provides changes in a central frequency and phase characteristic according to the accuracy in the coefficient of the filter. In order to remove the change, the number of bits of the coefficient must be increased. This gave raise to an increase in the circuit size and production cost.

SUMMARY OF THE INVENTION

[0006] An object of this invention is to provide a second-order IIP type digital filter with a simple arrangement and high accuracy.

[0007] Another object of this invention is to provide a reference signal canceling apparatus using such a digital filter.

[0008] In order to attain the above object, in accordance with the first aspect of the this invention, there is provided a second-order bandpass IIR type digital filter, wherein assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b1 is set at −1+2^(−n) and a second-order input feedback efficient b2 is set at 1−2^(−(n−1)) (n: an odd number of 3 or larger).

[0009] In this configuration, the phases at the central frequency at the input and output of the digital filter can be made to agree to each other.

[0010] Since the coefficient is set as power of 2, it can be easily acquired with high accuracy.

[0011] In a preferred embodiment, a coefficient a₀ of an zero-order output is set at 2^(−n) (a₀=2^(−n))and a coefficient a₂ of a second-order output is set at −2^(−n) (a₂=−2^(−n)). Therefore, the amplitudes at the central frequency at the input and output can be made to agree to each other.

[0012] In a preferred embodiment, the second-order output is subtracted from the zero-order output and a subtraction result is multiplied by 2^(−n). In this configuration, the digital filter can be simplified.

[0013] In accordance with the second aspect of this invention, in a reference signal canceling apparatus comprising a filter for extracting a reference signal contained in an FM detected signal and a subtracter for subtracting an output form the filter from the FM detected signal, the above digital filter according to the first aspect of this invention is used as the above filter.

[0014] In this configuration, the reference signal (pilot signal) can be removed easily and completely.

[0015] In accordance with the third aspect of this invention, a method of canceling the reference signal using the digital filter according to the first aspect is also provided.

[0016] The above and other objects and features of the invention will be more apparent from the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIG. 1 is a block diagram showing the first embodiment of this invention;

[0018]FIG. 2 is a block diagram showing the second embodiment of this invention;

[0019]FIG. 3 is a block diagram showing a second-order IIR type digital filer; and

[0020]FIG. 4 is a block diagram showing a conventional pilot signal canceling apparatus.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Prior to explaining an embodiment of this invention, referring to FIG. 3, an explanation will be given of the operating theory of this invention.

[0022]FIG. 3 shows the arrangement of a general second-order IIR type digital filter.

[0023] In FIG. 3, the transfer function H(Z) of the filter can be expressed by

H(Z)=(a +a ₁ Z ⁻¹ +a ₂ Z ⁻²) /(1+b ₁ Z ⁻¹ +b ₂ Z ⁻²)  (1)

[0024] The amplitude characteristic M(ω) can be expressed by

M(ω)=(O/Q)^(0.5)  (2)

[0025] The delay characteristic T(ω) can be expressed by

τ(ω)=(P/O−R/Q)T  (3)

[0026] where

Q=A ² +C ²

P=C(C+a ₂ Sin 2ωT)−A(A−a ₀ +a ₂ Cos 2ωT)

Q=B ² +D ²

R=D(D+b ₂ Sin 2ωT)+B(B−1+b ₂ Cos ωT)

T=sampling time  (4)

[0027] where

A=a ₀ +a ₁ Cos ωT+a ₂ Cos 2ωT

B=1+b ₁ Cos ωT+b ₂ Cos 2ωT

C=a ₁ Sin ωT+a ₂ Sin 2ωT

D=b ₁ Sin ωT+b ₂ Sin 2ωT  (5)

[0028] In the general form of the second bandpass filter,

a ₁=0

a ₂ =−a ₂  (6)

[0029] Setting the sampling frequency fs (=1/T) at six times as large as the central frequency of the bandpass filter,

ωc T=2πfc T=π/3  (7)

2ωc T=2π/3  (8)

[0030] Further

Cos 2ωT=−Cos ωT  (9)

Sin 2ωT=Sin ωT  (10)

2 Cos ωT=1  (11)

[0031] Assuming that

a ₀ =a, a ₂=−a  (12)

[0032] in Equation (5),

A=a+a Cos ωT

B=(2+b ₁ −b ₂)Cos ωT

C=−a Sin ωT

D=(b ₁ +b ₂)Sin ωT  (13)

[0033] Therefore, in Equation (4),

O=2a ² (1+Cos ωT)

Q=(2+b ₁ −b ₂)² Cos² ωT+(b ₁ +b ₂)² Sin ωT

P=2a ²(Sin² ωT−Cos² ωT−Cos ωT)

R=(b ₁ +b ₂) (b ₁+2b ₂)Sin² ωT+(2+b ₁ −b ₂) (b ₁−2b ₂)Cos² ωT  (14)

[0034] Assuming that

b ₁=−(1−a)

b ₂=1−2a  (15)

b ₁ +b ₂ =−a

b ₁+2b ₂=1−3a

2+b ₁ −b ₂=3a

b ₁−2b ₂=−3+5a  (16)

[0035] Substituting Equation (16) into Q and R in Equation (14),

Q=9a ² Cos ωT+a ² Sin² ωT

R=−a(1−3a)Sin² ωT+3a(−3+5a)Cos² ωT  (17)

[0036] Considering Equation (7),

Cos² ωT=¼, Sin² ωT=¾  (18)

[0037] Therefore,

O=3a ²

p=0

Q=3a ²

R=3a(2a−1)  (19)

[0038] Thus, substituting Equation (19) into Equation (3), the amplitude characteristic M(ω) is expressed by

M(ω)=(O/Q)^(0.5)=1  (20)

[0039] The delay characteristic τ(ω) is expressed by

τ(ω)=(P/O−R/Q)T=(1−2a)/6af _(c)  (21)

[0040] Now, assuming that

a=2^(−b) (n: integer of 0 or more)  (22)

[0041] the delay characteristic τ(ω) is expressed by

τ(ω)=(2^(n)−2)/6f _(c)  (23)

[0042] Assuming that

n=3, 5, 7, 9, . . . (n: positive integer other than 1)  (24)

τ(ω)f _(c)=1, 5, 21, 85,  (25)

[0043] Namely, the group delay can be taken as integer times of 1/f_(c) and the phases of the central frequencies at the input and output agree with each other.

[0044] Assuming that

n=2m+1 (m: integer of 0 or more)  (26)

[0045] Equation (23) can be expressed by

τ(ω)=(2^(2m)−1)/3f _(c)  (27)

[0046] Using n in Equation (26), a in Equation (22) can be expressed by

a=2^(−(2m+1))  (28)

[0047] Further, b¹ and b² in Equation (15) can be expressed by

b1=−(1−2^(−(2m+1)))

b2=1−2^(−2m)  (29)

[0048] The procedure described above can be summarized as follows.

[0049] Assuming that

[0050] 1. the sampling frequency fs is six-times of the central frequency of the bandpass filter,

[0051] 2. n is an odd number of 3 or greater,

[0052] 3. a₀=2^(<n), a₁=0, a₂=−2^(−n)

[0053] 4. b₁=−(1−2)^(−n) and

[0054] 5. b₂=1−2^(−(n-1)),

[0055] 6. the amplitude characteristic M(ωc)=1 and

[0056] 7. the delay characteristic τ(ωc)=(2^(n)−2)/6f_(c).

[0057] Otherwise, assuming that

[0058] 1′. the sampling frequency fs is six-times of the central frequency of the bandpass filter,

[0059] 2′. m is an integer of m>3,

[0060] 3′. a=2^(<(2m+1)), a₁=0, a₂=2^(−n)

[0061] 4′. b₁=−(1−2^(−(2m+1))) and

[0062] 5. b₂=1−2^(−m),

[0063] 6. the amplitude characteristic M(ωc)=1 and

[0064] 7. the delay characteristic τ(ωc)=(2^(2m)−1)/3f_(c). (31)

[0065] Therefore, the phases and amplitudes at the central frequency at the input and output agree to each other.

[0066] Further, a₀=2^(−(2m+1)), the coefficient can be calculated by “bit shift”, thus facilitating the operation. In addition, because of no coefficient error, the operation can be carried with high accuracy.

[0067] The band of the filter becomes narrow as a₀ approaches 0. For this reason, the objective bandwidth can be acquired by selecting a₀ according to the object.

[0068] Now referring to FIG. 1, an explanation will be given of a first embodiment of this invention. FIG. 1 is an arrangement view of the first embodiment.

[0069] In FIG. 1, reference numerals 1 and 2 denote a delay operator, 3 a first-order input feedback coefficient (b₁), 4 a second-order input feedback coefficient (b₂) 5 and 6 are an adder, respectively, 7 a zero-order output coefficient (a₀) 8 a second-order output coefficient, 9 an adder and 10 a sampling pulse for processing digital signal processing.

[0070] The frequency fs of the sampling pulse is set at six times of the central frequency fc of the bandpass filter as expressed by Equation (30). Assuming that n is an odd number of 3 or more, the first-order input feedback coefficient (b₁) 3 is set at −(1−2^(−n)) and the second-order input feedback coefficient (b₂) 4 is set at 1−2^(−(n-1)).

[0071] The zero-order output coefficient (a₀) 7 is set at 2^(−n) and the second-order output coefficient (a₂) 8 is set at −2^(−n).

[0072] In the operation with the above settings, at the input and output of the filter, the phase and amplitude can be caused to agree to each other.

[0073] Since the coefficient is set as power of 2, it can be easily acquired with high accuracy.

[0074] Now referring to FIG. 2, an explanation will be given of a second embodiment of this invention. FIG. 2 is an arrangement view of the first embodiment.

[0075] In the first embodiment, the zero-order output coefficient (a₀) 7 was set at 2^(−n) (a₀=2^(−n)) and the second-order output coefficient (a₂) was set at −2^(−n)(a₂=−2^(−n)).

[0076] Specifically, a₀=−a₂. The zero-order output was multiplied by a₀, and the second-order output was multiplied by −a₂. The outputs thus acquired were added to acquire an output signal.

[0077] The second embodiment intends to reduce the number of multiplication.

[0078] Specifically, as seen from FIG. 2, in a subtracter 11, the second-order output is reduced from the zero-order output, and the output from the subtracter 11 is multiplied by a coefficient (a=2^(−n))12.

[0079] A reference signal canceling apparatus according to this invention can be constructed using the second-order IIR digital filter hitherto explained. Specifically, in the second-order IIR digital filter, the central frequency is set at 19 KHz of the pilot signal and the sampling frequency is set at six times as large as this frequency. The digital filter with such settings is substituted for the bandpass filter in the pilot signal canceling apparatus described with reference to FIG. 4. Thus, the phase and amplitude of the pilot signal at the output can be made equal to those at the input. The difference in these phase and amplitude between the input and output can be taken in the subtracter 21 so that the pilot signal can be completely canceled from the FM detected signal. Any configuration can be adopted as long as the reference signal at a single frequency contained in a prescribed signal can be canceled.

[0080] Further, for example, in an RDS broadcasting, a reference signal at 57 KHz is superposed on a detected signal for data demodulation. In this case, by setting the sampling frequency at six times as large as 57 KHz, the reference signal at 57 KHz can be easily canceled. 

What is claimed is:
 1. A second-order bandpass IIR type digital filter, wherein assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b1 is set at −1+2^(−n) and a second-order input feedback coefficient b2 is set at 1−2^(−(n-1)) (n: an odd number of 3 or larger).
 2. A second-order bandpass IIR type digital filter according to claim 1 , wherein a zero-order output coefficient a₀ of an is set at 2^(−n) (a₀=2^(−n))and a coefficient a2 of a second-order output is set at −2^(−n) (a₂−2^(−n)).
 3. A second-order bandpass IIR digital filter according to claim 1 , wherein the second-order output is subtracted from the zero-order output and a subtraction result is multiplied by 2^(−n).
 4. A reference signal canceling apparatus comprising: a filter for extracting a reference signal contained in an FM detected signal; and a subtracter for subtracting an output from the filter from said FM detected signal, wherein said filter is constructed as a second-order bandpass IIR type digital filter, and assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b1 is set at −1+2^(−n) and a second-order input feedback coefficient b2 is set at 1−2^(−(n-1)) (n: an odd number of 3 or larger).
 5. In a reference signal canceling apparatus comprising: a filter for extracting a reference signal contained in an FM detected signal; and a subtracter for subtracting an output from the filter from said FM detected signal, a method of canceling a reference signal, comprising the steps of: constructing said filter as a second-order bandpass IIR type digital filter, and assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, setting a first-order input feedback coefficient b1 at −1+2^(−n) and a second-order input feedback coefficient b2 is set at 1−2^(−(n-1)) (n: an odd number of 3 or larger). 